package com.quanxiaoha.xiaohashu.note.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.quanxiaoha.framework.common.response.Response;
import com.quanxiaoha.xiaohashu.note.biz.domain.dataobject.NoteDO;
import com.quanxiaoha.xiaohashu.note.biz.model.vo.*;

/**
 * @author jingyanliu
 * @description 针对表【t_note(笔记表)】的数据库操作Service
 * @createDate 2025-07-30 15:42:49
 */
public interface NoteDOService extends IService<NoteDO> {
	
	Response<?> publishNote(PublishNoteReqVO publishNoteReqVO);
	
	Response<FindNoteDetailRspVO> findNoteDetail(FindNoteDetailReqVO findNoteDetailReqVO);
	
	Response<?> updateNote(UpdateNoteReqVO updateNoteReqVO);
	
	void deleteNoteLocalCache(Long noteId);
	
	Response<?> deleteNote(DeleteNoteReqVO deleteNoteReqVO);
	
	Response<?> visibleOnlyMe(UpdateNoteVisibleOnlyMeReqVO updateNoteVisibleOnlyMeReqVO);
}
